package com.budwk.app.sqfwDoc.codeGeneratorV2.fileParam;

import com.budwk.app.sqfwDoc.codeGenerator.pdfGenerate.AbstractCustomerPdfCreateField;
import com.budwk.app.sqfwDoc.codeGeneratorV2.config.PdfCreateConfig;
import com.budwk.starter.common.openapi.annotation.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @author ZY.Wang
 * @since 2024/1/23
 */
@Data
public class PdfGenerateParam {

    @ApiModelProperty(description = "前端传过来的pdf的配置")
    private List<PdfCreateConfig> pdfCreateConfigList;  // pdf相关配置

    @ApiModelProperty(description = "自定义字段")
    private AbstractCustomerPdfCreateField abstractCustomerPdfCreateField;

    @ApiModelProperty(description = "业务id 比如serviceRecordId completeFlowId")
    private BusinessParam businessParam;

    @ApiModelProperty(description = "创建人的信息")
    private CommonParam createUserCommonParam;

    @ApiModelProperty(description = "可自定义的参数map")
    private Map<String, Object> customerParamMap;

    @ApiModelProperty(description = "是否下载模板")
    private boolean isDownTemplate = false;
}
